<?php

declare(strict_types=1);
/**
 * Created by PhpStorm.
 * User: yangfan
 * Date: 2019/10/31
 * Time: 4:26 PM
 */

namespace App\Services\api;

use App\BO\Product\ProductBO;
use App\Entity\ProductEntity;
use App\Entity\ProductSkuEntity;
use Illuminate\Support\Collection;

interface IProductSkuService
{
    /**
     * @return ProductSkuEntity/null
     */
    public function findOne(int $productSkuId);

    public function getProductSkuListFirst(int $productId);

    /**
     * @deprecated
     *
     * @return Collection
     */
    public function getProductSkus(ProductEntity $productEntity);

    /**
     * @return Collection
     */
    public function getProductSkusByProductBO(ProductBO $productBO);
}
